package com.hrms.view;

import java.util.logging.Level;

import com.hrms.core.Constants;
import com.hrms.domain.MyDashboard;


public class UtilizationView extends View {

	@Override
	protected void initalize() {
		
	}

	@Override
	protected void persistEvents() {
		
		try
		{
		MyDashboard mydb = new MyDashboard(getParameterMap());
		log(mydb.getUserId());
		setWarnings( mydb.fireEvents(Constants.Action.NEW.toString(), getReq()) );

		}catch(Exception e){
			setWarnings( ""  ); 
			log.log(Level.SEVERE, getWarnings(), e);
		}
	}

}
